﻿@using ActionTrackerEntities
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/themes/bootstrap.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/jquery-ui-1.8.23.custom.css")" rel="stylesheet" type="text/css" />
    
    <script src="@Url.Content("~/Scripts/jquery-1.8.0.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/bootstrap.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/bootstrap-transition.js")" type="text/javascript"></script>
    
    @RenderSection("script", required: false) 
</head>
    <body>
        <div class="container">
            <div class="container-fluid">
                <header>
                    <div id="logindisplay">
                        @Html.Partial("_LogOnPartial")
                    </div>
                    <div>
                        <h1>Action Tracker</h1>
                    </div>
                </header>
                <div class="row-fluid">
                    <div class="span2 lateral" >
                        <nav>
                            <ul class="nav nav-pills nav-stacked">
                                <li>@Html.ActionLink("Home", "Index", "Home")</li>
                                @if (Session["UsuarioLogueado"] != null)
                                {
                                   <li>@Html.ActionLink("Acciones", "Index", "Accion")</li>
                                   
                                  if (((Usuario)Session["UsuarioLogueado"]).TipoUsuario != (int)TipoUsuarioEnum.Usuario)
                                  {
                                       <li>@Html.ActionLink("Proyectos","Index","Proyecto")</li> 
                                       <li>@Html.ActionLink("Métrica Promedio", "MetricaPromedio", "Accion")</li>
                                       <li>@Html.ActionLink("Métrica Cantidad", "MetricaCantidad", "Accion")</li>
                                       <li>@Html.ActionLink("Reportes", "Reporte", "Accion")</li>
                                       <li>@Html.ActionLink("Reuniones", "Index", "Reunion")</li>
                                       <li>@Html.ActionLink("Usuarios", "Index", "Usuario")</li>
                                  }
                                }
                            </ul>
                        </nav>
                    </div>
                    <div class="span10 cuerpo" >
                        <section id="main">
                            @RenderBody()
                        </section>
                    </div>
                </div>
               
            </div>
        </div>
         <footer class="footer">
                    Action Tracker | Ágiles 2012
                </footer>
        
    </body>
</html>
